<template>
	<view class="goods-poster-list" v-if="detail">
		<!-- 	<image
		style="width: 100%;"
		mode="widthFix"
			src="https://mp-a6359cef-e1f5-4478-96f8-00fab19c712c.cdn.bspapp.com/cloudstorage/d17b5b10-eff8-483c-bbc9-e7efd22773bb.png" /> -->
		<rich-text :nodes="detail.detail" style="width: 100%;"></rich-text>
	</view>
</template>

<script lang="ts" setup>
	import { defineProps,onMounted,onUpdated,watch } from 'vue';
	
	interface IProps {
		detail : IGoods | null
	}
	
	const props = withDefaults(defineProps<IProps>(), {
		detail: null
	})
	
	
	// const detail = '<img src=\"http://img.99clzs.com/20221102115954359.jpg\" alt=\"\" /><br>\r\n<img src=\"http://img.99clzs.com/20221227120031788.jpg\" alt=\"\" />';
</script>

<style scoped lang="scss">
	@import "./goodsPosterList.scss";
</style>